]> dgit.raspbian.org Git - gnome-shell.git/commit
st/scroll-view: Don't emit superfluous style-changed events on children
authorJonas Dreßler <verdre@v0yd.nl>
Thu, 14 Nov 2019 07:37:25 +0000 (08:37 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 30 Jul 2021 13:59:18 +0000 (13:59 +0000)
commit85ffb969246ef37c0c44fc9a01a8ed5832423dd0
tree03318bc1a8dba1f4ac25e8c85a5cbc8ed0fc01ba
parentf6553ef5f07a2fe1bd27229cf310543fc5770c89
st/scroll-view: Don't emit superfluous style-changed events on children

Since we correctly call the `style_changed` vfunc superclass at the end
of our own function anyway, the style changes will get propagated to the
children of the scrollView inside `st_widget_real_style_changed` anyway.

So remove those unneeded and quite expensive (because they cause the
theme node to be regenerated) calls to `st_widget_style_changed`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/953>
src/st/st-scroll-view.c